package com.hao.eduservice.service;

import com.hao.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author hao
 * @since 2020-12-02
 */
public interface EduVideoService extends IService<EduVideo> {

    /**
     * 通过课程id删除
     *
     * @param courseId 进程id
     */
    void removeByCourseId(String courseId);

    /**
     * 删除视频
     *
     * @param videoId 视频id
     */
    void deleteVideo(String videoId);
}
